package com.dooioo.pns.entity.model;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * PackageName:com.dooioo.pns.entity.model
 * Author: Jerry.hu
 * Create: Jerry.hu (2015-05-05 下午5:10)
 * Description:
 * To change this template use File | Settings | File Templates.
 */
@Alias("messageRead")
public class MessageRead implements Serializable{
	private static final long serialVersionUID = -7046169469329505636L;
	/**
	 * 消息id
	 */
	private int msId;
	/**
	 * userCode id
	 */
	private int userCode;
	/**
	 * 应用Id
	 */
	private int appId;
	/**
	 * 创建时间
	 */
	private Date createTime;

	public int getAppId() {
		return appId;
	}

	public void setAppId(int appId) {
		this.appId = appId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getMsId() {
		return msId;
	}

	public void setMsId(int msId) {
		this.msId = msId;
	}

	public int getUserCode() {
		return userCode;
	}

	public void setUserCode(int userCode) {
		this.userCode = userCode;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("MessageRead{");
		sb.append("appId=").append(appId);
		sb.append(", msId=").append(msId);
		sb.append(", userCode=").append(userCode);
		sb.append(", createTime=").append(createTime);
		sb.append('}');
		return sb.toString();
	}
}
